PeCryptoThe PeCrypto Indicator is a momentum indicator developed by tradewithpecunia. The indicator is made with 5+ robust indicators for the crypto charts. The indicator has been made with the concepts of support and resistance, ascending/ descending channel, flag, and pole pattern & rising/falling wedges with the crossover of 3+ moving averages. Different parameters (mathematical calculations for each) have been set by us for each mentioned concept above. According to the parameter set by us, the indicator detects different trends in the price using 3 different algorithms. With the help of sigma calculations and the use of 4 different slopes the indicator catches momentum at different positions, according to the parameter set, and generates signal using the conjunction of both the above-mentioned rules. We call this a Kayo cum Shelve system because utilizing the concepts it finds the signals and after satisfying the parameters it generates the final signals. This ensures that there is a momentum check and enough buy and sell signals are generated.
Using 4 parameters for upper bound/lower bounds and divergence rules the catch for median points has been done. 7+ & 7- lengths are looked at from the median points where we have put the stop loss.
Note:
If you are using this script, you acknowledge that the past performance is not necessarily the indication of future results and there are many more factors that go into being a profitable trader.
Before you proceed:
We are not SEBI Registered Analysts and shall not be culpable for any loss incurred directly or indirectly. Our indicator is no holy grail system. Investment in the stock market is subject to market risk. Trading in stocks, futures, or options is not suitable for every trader and involves a considerable risk of loss.
The market may fluctuate, and the user always has a risk of loss, thus, we won’t be liable for any losses incurred while using our indicator, our trading ideas, or our approach.
Cerca negli script per "stop loss"
[Joy] Aladdin Long Trading Strategy 1.0.0 AlphaAladdin's Long trading strategy is to test out Aladdin for long trades only
This strategy is mainly used to test whether Aladdin is suitable for a coin/stocks/futures or for any trading. The profitability, average drawdown, average profits, etc are used by me to decide whether to use it for trading.
What is Aladdin and what does it do?
Using the volume and gradual flow of non-interrupted data (wicks and body of the candles), it tries to detect the macro condition of the market so that one may know in which direction the market is flowing.
* Bearish / Sell sign: On the candle's close, I open a short position
* Bullish sign: On the candle's close, I open a long position
* I take at least 50% profit when the indicator indicates to do so. One can configure that value as desired from the configuration depending on one's risk/money management. I might even convert some portion of the position into stable coins.
FAQ
Q: Does it use some EMA /MA/etc.? Does it use any indicator with tweaked settings?
Answer: No.
Q: What does it mostly depend on?
Answer: Volume and gradual flow of non-interrupted data. The logic depends purely on volume , price bars and the wicks.
Q: Does it work with all coins, stocks, futures, instruments?
Answer: I prefer to use the exchange with the best possible data. Then backtest out to find the best possible timeframe, stop loss and target all derived from this script data.
Q: Can you make it free or make it open source?
Answer: There is no free lunch in this world. I will never reveal or share the source code!
Q: Do you provide ongoing support for the indicator?
Answer: Yes, as long as I can, I will continue updating the indicator
Q: Are the bullish /buy & the bearish/sell markers automatic?
Answer: I have no control over the markers. It is driven purely by logic from the script.
Q: Is this financial advice?
Answer: This is not financial advice. I do not guarantee any profit or loss. I am not responsible for any of your losses or profits. My indicators do not assure profit or loss. It also does not auto-open or auto-close a trade.
Assumptions:
Only long trades are opened and closed. No short trades.
Starting Capital: $20,000
Order Size: 20% of Capital
Data used: Whatever data is available from 2011 till today on Trading view
Findings:
INDEX: BTCUSD 83% profitability using 2day tf
54 closed trades
Profit factor: 16
Sortino Ratio: 5.2
Average Winning Trade: 30%
Average Losing Trade: 9.12%
Largest Winning Trade: 1218%
Largest Losing Trade: 20.25%
Below are the profitability rate for the timeframe and the coins listed as found by running the trading strategy over the following as of today (Aug 1st 2021 12:40 pm Sydney Time).
⚜️ INDEX:BTCUSD 83% using 2day tf
⚜️INDEX:ETHUSD 80% using 1day tf
⚜️FTTUSD 81% using 2day tf
⚜️SRMUSD 71% using 1day tf
⚜️ADAUSDT 81% using 2day tf
⚜️ALGOUSD > 90% using 2day tf
⚜️ALTPERP 81% using 2day tf
⚜️AVAXUSDT 75% using 1day tf
⚜️BANDUSD > 90% using 2day tf
⚜️BCHUSD 82% using 2day tf
⚜️BNBUSD 79% using 1day tf
⚜️BNBUSD 85% using 2day tf
⚜️CHZUSD 71% using 1day tf
⚜️COMPUSD 81% using 1day tf
⚜️DOGEUSD 77% using 1day tf
⚜️EXCHPERP 83% using 1day tf
⚜️FILUSD > 90% using 1day tf
⚜️FTMUSD 70% using 2day tf
⚜️HTUSDT 75% using 2day tf
⚜️KINUSD >90% using 2day tf
⚜️LINKPERP 85% using 2day tf
⚜️LTCUSD 80% using 2day tf
⚜️MATICUSD 77% using 2day tf
⚜️NEOUSD 80% using 1day tf
⚜️NEXOUSD > 90% using 1day tf
⚜️OKBUSD 71% using 1day tf
⚜️OMGUSD 75% using 1day tf
⚜️RSRUSD 87% using 1day tf
⚜️RUNEUSD > 90% using 1day tf
⚜️SHITPERP > 90% using 1day tf
⚜️SOLUSD 84% using 1day tf
⚜️SUSHIUSD 71% using 1day tf
⚜️THETAUSD > 90% using 2day tf
⚜️UNIPERP 83% using 1day tf
⚜️VERTPERP > 90% using 1day tf
⚜️XAUUSD 63% using 2day tf
⚜️XTZUSD 83% using 2day tf
⚜️ZECUSD 72% using 2day tf
Disclaimer:
No one knows what will happen in the future. DYOR and decide on your own conditions. Do realize that neither I nor my indicator can guarantee any profit or loss. And there is no assurance that any trade will ever result in any profit. It is not financial advice.
[ADOL_]ARVIS 3ENG) This is version 3 of ARVIS BOT. ARVIS 3
Since it is a new version with a completely different identity from Trend Break, we do not use the name Trend Break.
It is a version made lighter in the existing version and newly created logic.
Existing ARVIS users can use versions 1, 2, 3 and 3R auxiliary tools to be added without additional rights.
Optional use is possible.
principle)
Features of the new core logic:
It was created considering the relative strength RSI and the ICHIMOKU moving average.
Identify the trend strength to generate a long and short reversal signal at the reversal of the trend.
By using HTF signal, it is possible to bring the signal of the upper time to the smaller time.
By using HTF, the candle splits and the standard maintains the flow of time.
A method was used to reduce the whipsaw of frequent signal appearances.
option)
A volatility warning notification has been included. A function that alerts you before volatility increases.
It is indicated in the form of ■ at the bottom of the chart.
You can optionally set the signal range.
Dynamic Fibonacci moving along the candlestick was applied. 0.5 is used as a criterion for determining a large trend.
By combining the RSI and the moving average, you can apply a background that utilizes the RSI as a sensitivity.
By combining RSI and Stochastic, the overbought/oversold section was output as the background.
You can output overbought/oversold at the desired time as a background.
Up/down divergence included as background.
Black is downward divergence and white is upward divergence.
In the lower right corner, an indicator for the probability of a long is added by combining the multiple moving averages and the figures analyzed for the convergence trend.
50% is used as a reference point for long/short conversion, 10~20% is considered oversold section, and 80~90% is considered overbought section.
It can be used as a reference point for counter-trend trading. Probability indicators allow you to increase your judgment with visualized numbers.
principle example)
time frame)
Recommended time frame: 15-minute peaks >> 1-hour peaks > 1.3-minute peaks = 4 hour peaks = daily
alarm)
Various alert functions are available. based on the alert signal
When trading, various signals help to set specific conditions.
- HTF Long Short , Alert
- Volatility warning alert
- Basic long and short alerts
- Up/down divergence alert
trading method)
1. Utilize SIGNAL1 L,S signals. It is a similar approach to the existing manual bot mode.
2.SIGNAL2's , signals can bring high-time signals to buy and sell. This is a similar approach to the existing autobot mode.
If you bring a high time signal to a small time, you can refine the hit point, so in this case, use SIGNAL2 of 15 minutes or longer.
SIGNAL2 15-minute view at 3-minute peak, SIGNAL 1 hour view at 15-minute peak, and SIGNAL 4 hour view at 1-hour peak are recommended values.
3-1. Entry criteria/stop loss criteria (when trading hands and bots)
- entry criteria; Follow the signal.
- Stop loss criteria;
Use fixed stop loss: Set 1% fixed stop loss section from signal generation. (% is set individually)
Use Candle Stop Loss: Set a stop loss when the low or high point of the signal generating bar collapses.
Use flow stop loss: Set the stop loss considering the flow of the wave.
3-2. Entry criteria/stop loss criteria (in case of signal-based bot trading)
- It is not recommended to use more than 3x magnification. The above entry requires manual intervention and risk management.
It switches every time the opposite signal appears after entering without setting the stop loss separately.
Example of using the 15-minute HTF signal in the 3-minute scale
4. Note
You are solely responsible for any trading decisions you make.
ARVIS 3R indicator will be updated. Required for use of ARVIS 3
This is an additional feature. It is created as an indicator at the bottom, not as a candle chart.
5. How to use
It is set to be available only to invited users. When invited,
Tap Add Indicator to Favorites at the bottom of the indicator.
If you click the indicator at the top of the chart screen and look at the left tab, there is a Favorites tab.
Add an indicator by clicking the indicator name in the Favorites tab.
KOR) ARVIS BOT의 3버전입니다. ARVIS 3
Trend Break와 정체성을 완전히 달리한 신버전이므로
더이상 Trend Break 의 명칭을 쓰지 않습니다.
기존버전을 경량화하고 로직을 새롭게 만든 버전입니다.
기존의 ARVIS 이용자는 추가 권한 없이 1,2,3버전과 추가될 3R보조도구의
선택 활용이 가능합니다.
원리)
새로운 핵심적인 로직의 기능 :
상대강도인 RSI와 ICHIMOKU 이평선을 고려하여 만들어졌습니다.
추세강도를 파악해 추세의 전환자리에서 롱과 숏의 전환 신호를 발생시키도록 합니다.
HTF신호를 이용하여 상위 시간의 신호를 작은 시간대로 가져올 수 있습니다.
HTF를 활용함으로써 캔들은 쪼개고 기준은 상위 시간의 흐름을 유지해
잦은 신호출현의 휩쏘를 줄이는 방법을 사용하였습니다.
옵션)
변동성 경고 알림이 포함되었습니다. 변동성이 커지기 전에 미리 알려주는 기능으로
차트하단에 ■ 형태로 표기됩니다.
시그널의 범위를 옵션으로 설정할 수 있습니다.
캔들을 따라 움직이는 동적 피보나치가 적용되었습니다. 0.5를 큰 추세 판단 기준으로 활용합니다.
RSI와 이평선을 결합하여 RSI를 민감도로 활용한 배경을 적용할 수 있습니다.
RSI와 스토캐스틱을 결합하여 과매수/과매도구간을 배경으로 출력하였습니다.
원하는 시간의 과매수/과매도를 배경으로 출력할 수 있습니다.
상승/하락 다이버전스가 배경으로 포함되었습니다.
검은색은 하락다이버전스, 흰색은 상승다이버전스입니다.
우측하단에 다중이평선과 수렴추세를 분석한 수치를 종합하여 롱의 확률에 대한 표시기가 추가되었습니다.
50%는 롱/숏의 전환 기준점으로 활용하며, 10~20%는 과매도 구간, 80~90%는 과매수 구간으로 간주하여
역추세 매매의 기준점으로 활용할 수 있습니다. 확률 표시기를 통해 가시화된 수치로 판단을 높일 수 있습니다.
원리 예시)
타임프레임)
추천타임프레임 : 15분봉 >> 1시간봉 > 1,3분봉 = 4시간봉 = 일봉
알람)
다양한 얼러트 기능을 사용할 수 있습니다. 얼러트 신호를 기반으로
매매시 다양한 신호는 구체적 조건 설정에 도움이 됩니다.
- HTF 롱숏🥵,🥶 얼러트
- 변동성 경고 얼러트
- 기본 롱,숏 얼러트
- 상승/하락 다이버전스 얼러트
매매방법)
1. SIGNAL1 L,S 신호를 활용합니다. 기존의 수동봇 모드와 비슷한 접근입니다.
2.SIGNAL2의 🥵,🥶 신호는 높은 시간의 신호를 가져와 매매할 수 있습니다. 기존의 자동봇 모드와 비슷한 접근입니다.
높은 시간대의 신호를 작은시간으로 가져오면 타점을 정교화 할 수 있으므로, 이와같은 경우 15분 이상의 SIGNAL2를 활용합니다.
3분봉에서 SIGNAL2 15분 보기, 15분봉에서 SIGNAL 1시간 보기, 1시간봉에서 SIGNAL 4시간 보기가 추천값입니다.
3-1. 진입기준/손절기준(손,봇 매매시)
- 진입기준; 시그널을 따릅니다.
- 손절기준;
고정손절가 이용 : 시그널 발생으로부터 1% 고정 손절가 구간을 설정합니다.(%는 개별로 설정)
캔들손절가 이용 : 시그널 발생봉의 저점이나 고점이 무너지면 손절을 설정합니다.
흐름손절가 이용 : 파동의 흐름을 고려하여 손절을 설정합니다.
3-2. 진입기준/손절기준(신호기반 봇 매매시)
- 3배율 이상을 권장하지 않습니다. 이상의 진입은 수동개입으로 리스크관리가 필요합니다.
손절가를 따로 설정하지 않고 진입후 반대신호가 뜰때마다 스위칭을 합니다.
3분봉에서 15분HTF 신호사용의 예시
4. 참고
귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
ARVIS 3R 지표가 업데이트 예정입니다. ARVIS 3의 활용에 필요한
부가적인 기능입니다. 캔들차트가 아닌 하단의 지표로 생성됩니다.
5. 사용방법
초대된 사용자만 사용할 수 있도록 설정이 되어있습니다. 초대를 받을 경우,
지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면 상단에 지표를 눌러서 왼쪽탭에 보면 즐겨찾기 탭이 있습니다.
즐겨찾기 탭에서 지표이름을 눌러서 지표를 추가합니다.
[ADOL_]Trend Break Pro ARVIS BOTENG) Trend Break Pro Version : ARVIS BOT
It automatically draws trend lines and signals signals based on sophisticated standards.
It is an indicator that can be used as a tool for trading. from scalping
It was made as an all-round player that can even use the swing.
It contains all the signals of a breakout of the basic trend line,
By applying a new logic, signals that are faster than the breakout point of the basic trend line and
I made it to produce a better value while catching the signal of the press.
principle)
Basic trendline features:
It reflects the concepts of HH and LL.
Trendlines are created using the basic construction method, connecting highs and highs and lows and lows.
The 3 candles prior to the breakout of the trend line are the triggers to create a ready-to-prepare base signal.
What is HH? It is an abbreviation of Higher High, which means to raise the high.
What is LL? An abbreviation of Lower Low, which means to lower the low.
Features of the new core logic:
This is a quick way to find a reversal of a trend, taking into account candle patterns, volume, and moving averages.
The candle pattern that is reversed when the trading volume increases and then disappears is processed by subdividing and digitizing the pattern.
generate a signal. At the turning point of the trend, it triggers a long and short reversal signal.
For trading volume, obv was utilized. Overlaid elements allow you to find signals that are slightly faster than the trend line.
What is obv? OBV = An abbreviation of On Balance Volume. It is a secondary indicator showing the cumulative total of trading volume.
The background is a notation of the section where the trend is reversing.
option)
The degree of freedom to set options according to scalping, single stroke, swing, and bot implementation is given.
A volatility warning notification has been included. The function of TD setup is included.
You can set the range of candles as an option. The backtesting value is printed.
The backtesting value is calculated as the average of the opening and closing prices.
Volatility warnings are displayed in yellow.
TD Setup: Numbers floating on the candle, in ascending and descending order (=sequence) from 1 to 9.
The reason for writing up to 9 is based on statistics, and the more fundamental principle is the theory of the Fibonacci sequence.
The Fibonacci sequence is the number in the golden ratio that makes up nature, 1.1.2.3.5.8.13.21.34.55.89...
The sum of the nth and n+1th numbers becomes n+2th.
A note on odds of winning. Even if the win rate is 33%, if the profit-loss stop-loss ratio is 3 to 1, the profit exceeds 2, so cumulative profits are generated.
In other words, it is decided by considering both the win rate and profit/loss ratio, not just the win rate. The logic of a short stop loss and a long profit trend is reflected.
time frame)
Applicable to any timeframe.
Scalping: 1 minute, 3 minute, 5 minute / Danta: 15 minute, 1 hour / Swing: 4 hour, daily
Recommended time frame: 3, 15 minutes
alarm)
Various alert functions are available. based on the alert signal
When trading, various signals help to set specific conditions.
- Basic long and short alerts
- Volatility warning alert
- Filtered long and short alerts
- Long and short alerts occur Next peak alerts
- Uptrend line, downtrend line breakout alert
- Alerts about bot start and end when bot is running
- Filtered uptrend line, downtrend line breakout alert
- Alerts for rising and falling 1 setup and rising and falling 9 setups respectively
trading method)
1. For the trend line breakout signal, when the signal overlaps more than 3 times, the breakout probability increases.
It reflects the concept below.
One touch of support/resistance: The first touch sees longs at support and shorts at resistance.
2 touches of support/resistance line: Confirm the position once more in the stage of building support/resistance line (compacting). We see longs at support and shorts at resistance.
3 touches of the ground/resistance line: This is a section with a high possibility of both directions.
Support/resistance line 4 (over) touch: Used as a breakout reference line. When breaking through, short at support and long at resistance.
When the support/resistance line breaks through the closing price, support becomes resistance and resistance becomes support.
2. Trade support/resistance lines using the trend line breakout and signal as an important reference bar.
example)
3-1. Entry criteria/stop loss criteria (when trading hands and bots)
- entry criteria; Follow the signal.
- Stop loss criteria;
Use fixed stop loss: Set 1% fixed stop loss section from signal generation. (% is set individually)
Use Candle Stop Loss: Set a stop loss when the low or high point of the signal generating bar collapses.
Use flow stop loss: Set the stop loss considering the flow of the wave.
3-2. Entry criteria/stop loss criteria (in case of signal-based bot trading)
- Approach with a low magnification (more than 10 times is not recommended) to prevent the risk of liquidation of the largest drop,
There is an opposite signal after entering without setting stop loss separately.
4. Note
You are solely responsible for any trading decisions you make.
5. How to use
It is set to be available only to invited users. When invited,
Tap Add Indicator to Favorites at the bottom of the indicator.
If you click the indicator at the top of the chart screen and look at the left tab, there is a Favorites tab.
Add an indicator by clicking the indicator name in the Favorites tab.
KOR) Trend Break Pro버전 : ARVIS BOT ; 아비스 봇 입니다.
추세선을 자동으로 작도해주며, 정교화된 기준으로 시그널을
발생시켜 매매에 도구로써 활용가능한 지표입니다. 스캘핑부터
스윙까지 활용가능한 올라운드 플레이어로 만들어졌습니다.
기본 추세선 돌파의 시그널들을 모두 포함하고 있으며,
새로운 로직을 적용하여 기본 추세선 돌파시점보다 빠른 신호와
눌림의 신호까지 잡아내면서, 더 나은 값을 산출하도록 만들었습니다.
원리)
기본 추세선 기능 :
HH와 LL의 개념을 반영합니다.
추세선은 고점과 고점, 저점과 저점을 잇는 기본 작도 방법으로 만들어집니다.
추세선 돌파의 3개 이전 캔들부터 신호발생으로 준비를 기본 시그널을 만듭니다.
HH란 ? Higher High의 약자로 고점을 높인다는 의미입니다.
LL란? Lower Low의 약자로 저점을 낮춘다는 의미입니다.
새로운 핵심적인 로직의 기능 :
추세의 반전을 빠르게 찾기 위한 방법으로 캔들패턴, 거래량, 이평선을 고려하여 만들어졌습니다.
거래량이 증가하다가 소멸하는 시점에서 반전되는 캔들패턴을 세분화하고 수치화하여 가공된
신호를 발생시킵니다. 추세의 전환자리에서 롱과 숏의 전환 신호를 발생시키도록 합니다.
거래량에는 obv가 활용되었습니다. 중첩된 요소들을 통해 추세선보다 조금 더 빠른 신호를 찾을 수 있습니다.
obv란 ? OBV = On Blance Volume의 약자로 거래량의 누적합계를 나타내는 보조지표 입니다.
배경은 추세가 전환되는 구간의 표기입니다.
옵션)
스캘핑과 단타, 스윙, 봇의 구현에 맞게 옵션을 설정할 수 있는 자유도를 부여하였습니다.
변동성 경고 알림이 포함되었습니다. TD셋업의 기능이 포함되었습니다.
캔들의 범위를 옵션으로 설정할 수 있습니다. 백테스팅 값이 출력됩니다.
백테스팅 값은 시가와 종가의 평균값으로 산출됩니다.
변동성경고는 yellow 컬러로 표기됩니다.
TD셋업 : 캔들위에 플로팅 되는 숫자로 1~9까지의 오름차순, 내림차순 (=시퀀스)으로 구성됩니다.
9까지 쓰는 이유는 통계기반, 좀 더 근본적인 원리는 피보나치 수열의 이론이 반영되어 있습니다.
피보나치 수열이란 자연을 이루는 황금비율의 숫자로 1.1.2.3.5.8.13.21.34.55.89...
n번째와 n+1번째 숫자의 합이 n+2번째가 됩니다.
원리 예시)
승률에 관한 참고사항. 승률이 33퍼센트의 승률이어도 3대 1의 익절 손절 비율이면 이익이 2를 넘어가니까 누적수익이 발생합니다.
즉, 승률과 손익비를 모두 고려해서 결정하는 것이지, 승률만 봐서는 안됩니다.
손절은 짧게, 수익은 추세대로 길게의 로직이 반영되어 있습니다.
타임프레임)
모든 시간프레임에 적용 가능합니다.
스캘핑 : 1분봉, 3분봉, 5분봉 / 단타 : 15분봉, 1시간봉 / 스윙 : 4시간봉, 일봉
추천타임프레임 : 3, 15분봉
5분봉)
15분봉)
4시간봉)
알람)
다양한 얼러트 기능을 사용할 수 있습니다. 얼러트 신호를 기반으로
매매시 다양한 신호는 구체적 조건 설정에 도움이 됩니다.
- 기본 롱,숏 얼러트
- 변동성 경고 얼러트
- 필터링된 롱,숏 얼러트
- 롱,숏 얼러트 발생 다음봉 얼러트
- 상승추세선, 하락추세선 돌파 얼러트
- 봇구동시 봇의 시작과 종료에 관한 얼러트
- 필터링된 상승추세선, 하락추세선 돌파 얼러트
- 상승,하락1셋업과 상승,하락9셋업 각각에 대한 얼러트
매매방법)
1. 추세선 돌파신호는 신호가 3번이상 중첩될시 돌파확률이 상승합니다.
아래 개념을 반영합니다.
지지/저항선 1터치 : 첫번째 터치에는 지지선에서 롱을, 저항선에서 숏을 봅니다.
지지/저항선 2터치 : 지지/저항선 구축(다지기)의 단계로 한번 더 자리를 확인합니다. 지지선에서 롱을, 저항선에서 숏을 봅니다.
지/저항선의 3터치 : 양방향의 가능성이 높은 구간입니다.
지지/저항선4(이상)터치 : 돌파기준선으로 사용합니다. 돌파할 때, 지지선에서 숏을, 저항선에서 롱을 칩니다.
지지/저항선이 종가로 뚫리면 지지는 저항이 되고, 저항은 지지가 됩니다.
2. 추세선돌파와 시그널이 발생한 봉을 중요한 기준봉으로 활용하여 지지/저항선 매매를 합니다.
예시)
3-1. 진입기준/손절기준(손,봇 매매시)
- 진입기준; 시그널을 따릅니다.
- 손절기준;
고정손절가 이용 : 시그널 발생으로부터 1% 고정 손절가 구간을 설정합니다.(%는 개별로 설정)
캔들손절가 이용 : 시그널 발생봉의 저점이나 고점이 무너지면 손절을 설정합니다.
흐름손절가 이용 : 파동의 흐름을 고려하여 손절을 설정합니다.
3-2. 진입기준/손절기준(신호기반 봇 매매시)
- 저배율(10배이상은 권장하지 않습니다)로 접근해 최대낙폭의 청산위험을 예방하며,
손절가를 따로 설정하지 않고 진입후 반대신호가 뜰때마다 스위칭을 합니다.
4. 참고
귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
5. 사용방법
초대된 사용자만 사용할 수 있도록 설정이 되어있습니다. 초대를 받을 경우,
지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면 상단에 지표를 눌러서 왼쪽탭에 보면 즐겨찾기 탭이 있습니다.
즐겨찾기 탭에서 지표이름을 눌러서 지표를 추가합니다.
Breakout Trend Trading Strategy - V1Strategy in nutshell:
This strategy is made to be used in daily time-frames. Works better on trending instruments where volume is available. Hence, this is more suitable for trending shares rather than currencies, commodities and indexes where volume data is either not present or not reliable.
Breakout signifies the continuation of trend. Hence, trade in the direction of breakouts. Breakouts are calculated based on high volume and price movement in a day. This will be combined with few other conditions to generate buy and sell signals along with stop and compound targets. Supertrend is used for trend bias. Our buy and sell targets do not directly depend on the bias. But, entry criteria in opposite trend is made much difficult than that of trend direction. Further explanation of method and input parameters are explained below.
Backtesting parameters :
Capital and position sizing : Capital and position sizing parameters are set to test investing 2000 wholly on certain stock without compounding.
Initial Capital : 2000
Order Size : 100% of equity
Pyramiding : 1
ExitOnSignal : If unchecked exit is triggered solely on trailing stop
Trade Direction : Long, Short or All. Short condition is riskier than long conditions and often results in losses as per my observation. On most of the stocks trending up, strategy will not generate any short signals. This is achieved by comparing yearly high lows to previous two years to decide whether to allow short or long entries.
allowImmediateCompound : Applicable only if compounding/pyramiding is enabled in trade. If checked allows to place compounding orders immediately. If unchecked, it waits for stopline to cross order price before placing next compound.
Display Mode :
Targets : Whenever breakout happens, show marker for upTarget and downTarget
TargetChannel : Show up target and downtarget as a channel
Target With Stop : Along with targets, show also stop levels for breakouts
Up Channel : Channel created from UpTarget and respective stops
Down Channel : Channel created from DownTarget and respective stops
ShowTrailingStop : Shows trailing stop and compound lines when there is a trading position.
ShowTargetLevels : Shows Buy Sell target levels along with stop and compound lines. Trades are done as market orders. Hence, target levels are displayed after strategy makes the trade. Since only one order allowed per side without compounding, target, stop and compound levels are shown sometimes even without trade being made. These can be considered as entry levels if there is no existing position.
ShowPreviousLevels : Shows previous buy/sell target levels. When enabled, layout can look messy.
StopMultiplyer: To Set trailing stop loss.
BacktestYears: Number of years to include in backtest
So far my test cases are:
Positive : AAPL, AMZN, TSLA, RUN, VRT, ASX:APT
Negative Test Cases: WPL, WHC, NHC, WOW, COL, NAB (All ASX stocks)
Special test case: WDI
Negative test cases still show losses in backtesting. I have attempted including many conditions to eliminate or reduce the loss. But, further efforts has resulted in reduction in profits in positive cases as well. Still experimenting. Will update whenever I find improvements. Comments and suggestions welcome :)
Cyatophilum Swing Trader [BACKTEST]This is an indicator for swing trading which allows you to build your own strategies, backtest and alert. This version is the backtest which allows to use the Strategy Tester. The alert version can be found in my profile scripts page.
The particularity of this indicator is that it contains several indicators, including a custom one, that you can choose in a drop down list, as well as a trailing stop loss and take profit system.
The current indicators are :
CYATO AI: a custom indicator inspired by Donchian Channels that will catch each big trend and important reversal points .
The indicator has two major "bands" or channels and two minor bands. The major bands are bigger and are always displayed.
When price reaches a major band, acting as a support/resistance, it will either bounce on it or break through it. This is how "tops" and "bottoms", and breakouts are caught.
The minor bands are used to catch smaller moves inside the major bands. A combination of volume, momentum and price action is used to calculate the signals.
Advantages of this indicator: it should catch top and bottoms better than other swing trade indicators.
Cons of this indicator: Some minor moves might be ignored. Sometimes the script will catch a fakeout due to the Bands design.
Best timeframes to use it : 2H~4H
Sample:
Other indicators available:
SARMA: A combination of Parabolic Stop and Reverse and Exponential Moving Average (20 and 40) .
SAR: Regular Parabolic Stop and Reverse .
QQE: An indicator based on Quantitative Qualitative Estimation .
SUPERTREND: A reversal indicator based on Average True Range .
CHANNELS: The classic Donchian Channels .
More indicators might be added in the future.
About the signals: each entry (long & short) is calculated at bar close to avoid repainting. Exits (SL & TP) can either be intra-bar or at bar close using the Exit alert type parameter.
STOP LOSS SYSTEM
The base indicators listed above can be used with or without TP/SL.
TP and SL can be both turned on and off and configured for both directions.
The system can be configured with 3 parameters as follows:
Stop Loss Base % Price: Starting Value for LONG/SHORT stop loss
Trailing Stop % Price to Trigger First parameter related to the trailing stop loss. Percentage of price movement in the right direction required to make the stop loss line move.
Trailing Stop % Price Movement: Second parameter related to the trailing stop loss. Percentage for the stop loss trailing movement.
Another option is the "Reverse order on Stop Loss". Use this if you want the strategy to trigger a reverse order when a stop loss is hit.
TAKE PROFIT SYSTEM
The system can be configured with 2 parameters as follows:
Take Profit %: Take profit value in percentage of price.
Trailing Profit Deviation %: Percent deviation for the trailing take profit.
Combining indicators and Take Profit/Stop Loss
One thing to note is that if a reversal signal triggers during a trade, the trade will be closed before SL or TP is reached.
Indeed, the base indicators are reversal indicators, they will trigger long/short signals to follow the trend.
It is possible to use a takeprofit without stop loss, like in this example, knowing that the signal will reverse if the trade goes badly.
The base indicators settings can be changed in the "Advanced Parameters" section.
Configuration used for this snapshot:
BACKTEST SETTINGS
· Initial Capital: 10 000 $
· Order Size: 10% equity (to avoid compounding effect)
· Commission : 0.1% per order (total commission paid: 244.41 €)
· Slippage: 5 ticks
Oldest trade: 2014-04-01
Backtest Period: From 2014-04-01 to 2020-09-04
Use the link below to obtain access to this indicator.
Two Take Profit StrategyThis script is for research purposes only. I am not a financial advisor.
Entry Condition
This strategy is based on two take profit targets and scaling out strategy. The entry rule is very simple. Whenever the EMA crossover WMA, the long trade is taken and vice versa.
Take Profit and Stop Loss
The first take profit is set at 20 pips above the long entry and the second take profit is set at 40 pips above the long entry. Meanwhile, the stop loss is set at 20 pips below the long entry.
Money Management
When the first take profit is achieved, half of the position is closed. The rest of the position is open to achieve either second take profit or stop loss.
There are three outcomes when using this strategy. Let's say you enter the trade with 200 lot size and you are risking 2% of your equity.
1. The first outcome is when the price hits stop loss, you lose the entire 2%.
2. The second outcome is when the price hits the first take profit and you close half of your position. Meaning that you have gained 1%. Then you let the trade running and eventually it hits stop loss. The total loss is 0% because the remaining lot size which is 200/2=100 times by 20pips is 1%. You have gained the earlier 1% and then loss 1%. At this point, you are at break even.
3. The third outcome is similar to the second out but instead of hiring stop loss, the trade is running to your favor and hits the second take profit.
Therefore, you gained 1% from the first take profit and you gained another 2% for the second take profit. Your total gained is 3%
Summary
The reason behind this strategy is to minimize risk. with normal strategy, you only have two outcomes which are either win or loss. With this strategy, you have three outcomes which are win, loss or break even.
Gandulfas Trading SuiteAn indicator designed to quickly and easily enter you trades, with all the information you need in just one chart!
It uses a combination of :
Price action to have a Weekly BIAS
Volatility channels to track dynamic points of support/resistance
A momentum indicator on the background to point out when the pair is in "overbought/oversold" status - adds confluence to our entries.
Volatility pivots based on the Average Daily Range, to quickly manage your entries and stop losses - more confluence!
How to use this system?
First, we use the price action lines to define a weekly bias. If the price moves above this anchor, then we are looking for buying oportunities on retracements. If the price moves below this anchor, then we look for seling oportunities on retracements.
Now that we have a Weekly BIAS, we know that for this week we are currently looking for buying oportunities. Then, we can use the Volatility Channel to look for buying oportunities. Optimal entries are found within the channels and clouds!.
We should always look for a confluence of factors before entering any trade , and for that we decided to also add to the system a momentum indicator . This also can act as an early warning, telling us a that a potential setup is coming our way.
Does it repaint? No. The system is designed this way to reduce confirmation bias and keep your emotions at bay. For example, if you see the momentum indicator , maybe it is close to your threshold but it did not crossed over or crossed under it. Maybe it's 35, when your threshold is 25. It is low indeed , but it has not crossed it. Fact is this will get you emotional, and perhaps make you trigger a trade before you should.
So for this reason we decided to add the momentum indicator just showing the triangles when indeed the threshold has been crossed, so you don't get emotional trying to enter a trade too early. For this reason, you should always wait to the candle to close, to see if indeed we have crossed that threshold.
And then we have our volatility pivots , that help us to define better entries, targets and stop losses. They are based on the Average Daily Range, and it's use is pretty much straigthforward. The notion of this system is to take entries in the weekly direction. So, what we are really trying to achieve here is to get a chunk of that weekly expansion . The fastest the better, as having a positions means having exposure to the market. To achieve this objective the daily range helps us a lot.
If we are looking for a bullish day, that means we are looking for an good expansion of the Open-High range. So the daily range helps us to see how many pips this range could be on any given day. Then we apply a correction factor , because we do not want to estimate the whole range, we are good to go if we could anticipate just a 60% of it, let's say.
And it also helps us to define our stop loss places, because the range also tell us when it is most probable that our trading idea was wrong. Because if we are looking for a bullish day, we expect a good expansion on the open-high, not on the open-low!. So it also makes sense to take a look on the level that makes our idea most probably wrong!.
Here you can see how these pivots helps us to add extra confluence to our trading idea.
Our best trades are then performed....
Wednesday on the chart is the perfect example of the best type of trade you could perform. You have price entering the volatility channel, with the momentum indicator in our oversold zone, and price just a bit above our ADR pivots!.
Where should you put your targets?
You can use the volatility channel, and or also the pivots as we just described!
Where should you put your stop loss?
Below the volatility channel, taking into account where the pivots are. Because remember, if price trades below those, it most likely means that your idea was wrong, and you should not keep the trade open.
If you want to test or use this trading system on a regular basis, please get in touch with us through the private chat!
TrendMaster FreeTrendMaster Free
This is the free version of TrendMaster. It includes the Cloud and the candle colouring rules but does not provide the entry, exit and stop loss management of the full version.
TrendMaster is a complete trend following system with strict entry, exit and trade management criteria. The indicator is optimised for weekly, daily and 4-hour candlesticks and can be used for all trending markets such as crypto, forex or stocks. It was developed primarily for less experienced traders that struggle to determine relevant information from irrelevant information when viewing a candlestick chart. The indicator was built to solve the problem that all new traders face.
The Cloud
The indicator includes a moving average cloud which serves as a visual guide to local support and resistance . When price exits the cloud to the upside it typically trends above and finds support at the cloud during retracements.
Candle Colours
By default, TrendMaster will colour your candles in black and white. White candles indicate an uptrend in an asset and the candles will not change colour until the trend has reversed and a counter-trend signal has been printed. Black candles indicate a downtrend, they will remain black until a counter-trend long signal candle has been printed.
Setting Up The Indicator
TrendMaster is optimised for Heikin-Ashi candles. Using candles with smoothing applied decreases the likelihood of whipsaw losses and provides a stable visual representation of the trend. Ensure you have applied Heikin-Ashi candles to your chart before continuing. You can customise to any style of your choice provided the candle borders and wicks are set to a uniform colour that contrasts the chart background.
Entries and Exits
A long signal candle is a white Heikin-Ashi candle that closes above the cloud. A short signal candle is a white Heikin-Ashi candle that closes below the cloud. Entries are taken with a pending order placed at the wick with a reasonable margin for error.
Upgrading
The full version of TrendMaster contains significantly more functionality including coloured signal candles, stop loss and trailing take profit management, alerts and much more.
Our Story
Founded in 2018 by IchimokuScholar and C00kie, TrendMaster is a team that produces technical analysis indicators with an emphasis on simplicity and noise reduction. We support a large community with educational content, automated market scanners and mentoring in our private chat rooms. We produce technical analysis indicators geared primarily towards the emerging Cryptocurrency asset class. We provide educational material to assist trader development and host a large online trend following community. All of our products are designed to help traders distinguish relevant information from background noise. Our indicators encourage disciplined trade management to maximise the opportunity captured while minimising losses.
IchimokuScholar
IchimokuScholar – In 2017 I retired from a career in higher education to focus on Trading. I like to trade long term trends, focusing primarily on continuation setups. I am dedicated to sharing my knowledge of trading and take great pleasure in simplifying technical analysis for newer traders.
C00kie
I started trading crypto in 2017 and immediately started coding a bunch of tools to improve my quality of life. Some definitely worked out better than others. Like to trade the higher timeframes and drawing horizontal lines on charts. I am also pretty much obligated to like cookies.
TrendMaster TrialTrendMaster Trial
This is the trial version of TrendMaster. It includes the Cloud and the candle colouring rules but does not provide the entry, exit and stop loss management of the full version.
TrendMaster is a complete trend following system with strict entry, exit and trade management criteria. The indicator is optimised for weekly, daily and 4-hour candlesticks and can be used for all trending markets such as crypto, forex or stocks. It was developed primarily for less experienced traders that struggle to determine relevant information from irrelevant information when viewing a candlestick chart. The indicator was built to solve the problem that all new traders face.
The Cloud
The indicator includes a moving average cloud which serves as a visual guide to local support and resistance. When price exits the cloud to the upside it typically trends above and finds support at the cloud during retracements.
Candle Colours
By default, TrendMaster will colour your candles in black and white. White candles indicate an uptrend in an asset and the candles will not change colour until the trend has reversed and a counter-trend signal has been printed. Black candles indicate a downtrend, they will remain black until a counter-trend long signal candle has been printed.
Setting Up The Indicator
TrendMaster is optimised for Heikin-Ashi candles. Using candles with smoothing applied decreases the likelihood of whipsaw losses and provides a stable visual representation of the trend. Ensure you have applied Heikin-Ashi candles to your chart before continuing. You can customise to any style of your choice provided the candle borders and wicks are set to a uniform colour that contrasts the chart background.
Entries and Exits
A long signal candle is a white Heikin-Ashi candle that closes above the cloud. A short signal candle is a white Heikin-Ashi candle that closes below the cloud. Entries are taken with a pending order placed at the wick with a reasonable margin for error.
Upgrading
The full version of TrendMaster contains significantly more functionality including coloured signal candles, stop loss and trailing take profit management, alerts and much more.
Our Story
Founded in 2018 by IchimokuScholar and C00kie, TrendMaster is a team that produces technical analysis indicators with an emphasis on simplicity and noise reduction. We support a large community with educational content, automated market scanners and mentoring in our private chat rooms. We produce technical analysis indicators geared primarily towards the emerging Cryptocurrency asset class. We provide educational material to assist trader development and host a large online trend following community. All of our products are designed to help traders distinguish relevant information from background noise. Our indicators encourage disciplined trade management to maximise the opportunity captured while minimising losses.
IchimokuScholar
IchimokuScholar – In 2017 I retired from a career in higher education to focus on Trading. I like to trade long term trends, focusing primarily on continuation setups. I am dedicated to sharing my knowledge of trading and take great pleasure in simplifying technical analysis for newer traders.
C00kie
I started trading crypto in 2017 and immediately started coding a bunch of tools to improve my quality of life. Some definitely worked out better than others. Like to trade the higher timeframes and drawing horizontal lines on charts. I am also pretty much obligated to like cookies.
KST Strategy [Skyrexio]Overview
KST Strategy leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
Unique Features
ATR based stop-loss and take profit. Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
Configurable Trading Periods. Users can tailor the strategy to specific market windows, adapting to different market conditions.
Optional Choppiness Index filter. Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
Methodology
The strategy opens long trade when the following price met the conditions:
Close price is above the Alligator's jaw line
Close price is above the filtering Moving average
KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
If the Choppiness Index filter is enabled its value shall be less than user defined threshold
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.5, number of ATRs to calculate stop-loss level)
ATR Take Profit (by default = 3.5, number of ATRs to calculate take profit level)
Filter MA Type (by default = Least Squares MA, type of moving average which is used for filter MA)
Filter MA Length (by default = 200, length for filter MA calculation)
Enable Choppiness Index Filter (by default = true, setting to choose the optional filtering using Choppiness index)
Choppiness Index Threshold (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
Choppiness Index Length (by default = 14, length used in Choppiness index calculation)
KST ROC Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #2 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #3 (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #4 (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #2 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #3 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #4 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST Signal Line Length (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4
ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4
Also for this indicator the signal line is calculated:
Signal = SMA(KST, KST Signal Line Length)
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
It reacts faster to price changes than most moving averages.
It is smoother and less noisy than short-term EMAs.
It can be used to identify trend direction, momentum, and potential reversal points.
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
High - Low
abs(High - Previous Close)
abs(Low - Previous Close)
ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n)
where:
ΣATR(n) = sum of the Average True Range over n periods
MaxHigh(n) = highest high over n periods
MinLow(n) = lowest low over n periods
log10 = base-10 logarithm
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 60%
Maximum Single Position Loss: -5.53%
Maximum Single Profit: +8.35%
Net Profit: +5175.20 USDT (+51.75%)
Total Trades: 120 (56.67% win rate)
Profit Factor: 1.747
Maximum Accumulated Loss: 1039.89 USDT (-9.1%)
Average Profit per Trade: 43.13 USDT (+0.6%)
Average Trade Duration: 27 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
PineConnector [Extension] | FractalystWhat is the PineConnector Extension?
The PineConnector Extension is a sophisticated bridge indicator designed to seamlessly connect Quantify trading signals with PineConnector's automated execution system.
This extension transforms manual signal monitoring into fully automated trading by interpreting Quantify's signal outputs and converting them into executable PineConnector commands.
Unlike standalone trading indicators, this extension serves as a communication layer between your signal generation (Quantify indicator) and trade execution (PineConnector), enabling hands-free trading across multiple timeframes and instruments.
How does the signal processing work?
The extension processes four distinct signal types from Quantify indicators:
Signal Values:
1 = Buy/Long signal - Opens bullish positions
-1 = Sell/Short signal - Opens bearish positions
0.5 = Close Long - Closes all long positions
-0.5 = Close Short - Closes all short positions
The script continuously monitors the "Signal Source" input, which should be connected to any Quantify indicator's output. When a signal is detected, the extension automatically generates the corresponding PineConnector command with your configured parameters.
What are the available order types and how do they work?
The extension supports three order execution modes:
Market Orders:
- Execute immediately at current market price
- Highest execution probability
- Subject to slippage during volatile conditions
Limit Orders:
- Execute only when price reaches a more favorable level
- Buy limits placed below current price
- Sell limits placed above current price
- Dynamic pip offset calculated using ATR-based volatility
Stop Orders:
- Execute when price breaks beyond specified levels
- Buy stops placed above current price
- Sell stops placed below current price
- Useful for breakout strategies
Dynamic Pricing Calculation:
The extension calculates optimal entry prices using volatility-adjusted pip offsets:
priceVolatility = ta.atr(14) / close * 100
volatilityFactor = math.min(math.max(priceVolatility / 0.1, 0.5), 2.0)
pipsOffset = 10 * volatilityFactor
How does the risk management system work?
Risk Percentage:
The extension uses percentage-based position sizing where you specify the risk per trade (0.1% to 10.0%). This value is passed to PineConnector, which calculates the exact position size based on:
- Account balance
- Stop loss distance
- Instrument specifications
- Broker settings
Stop Loss Integration:
- The "Stop Source" input connects to external stop loss levels from Quantify or other indicators. - This ensures:
- Consistent risk-reward ratios
- Dynamic stop placement based on market structure
- Automatic position sizing calculations
Multi-Asset Compatibility:
The extension automatically detects instrument types and adjusts pip calculations:
Forex: mintick * 10
Crypto: mintick * 10
Other assets: mintick * 1
What does the information display table show?
The real-time status table provides essential configuration monitoring:
Status Indicators:
- License: Shows PineConnector license ID status (Blue = Set, Red = Missing)
- Security: Displays secret key status (Blue = Set, Orange = Disabled)
- Comment: Shows trade comment or timeframe if empty
- Symbol: Current trading symbol (manual override or chart symbol)
- Order Type: Active execution mode (Market/Limit/Stop)
- Risk: Risk percentage with color coding (Blue ≤1%, Orange >1%)
- Signal: Connection status (Blue = Connected, Red = Not Set)
- Stop: Stop loss source status (Blue = Connected, Red = Not Set)
Color Coding System:
Blue: Optimal/Connected
Orange: Warning/Moderate risk
Red: Error/Not configured
How do I connect this to my Quantify indicator?
Step-by-Step Connection:
Add the PineConnector Extension to your chart containing Quantify indicator
Configure Signal Source:
In the extension settings, locate "Signal Source"
Click the dropdown and select your Quantify indicator's signal output
The extension will automatically detect custom sources vs. default price data
Configure Stop Source:
Connect "Stop Source" to your Quantify indicator's stop loss output
This enables dynamic position sizing based on stop distance
Verify Connection:
Check the information table for "Signal" and "Stop" status
Blue indicates successful connection
Red indicates default price data (not connected)
Compatible Quantify Indicators:
- Quantify Trading Model
- Any indicator outputting standardized signals (1, -1, 0.5, -0.5)
What PineConnector setup is required?
Prerequisites:
- Active PineConnector License - Required for all functionality
- MetaTrader 4/5 or supported broker platform
- PineConnector EA installed and configured
- TradingView Pro/Pro+/Premium for alert functionality
Configuration Steps:
- License ID: Enter your PineConnector license ID in the extension
- Secret Key: Optional security layer for command verification
- Symbol Mapping: Ensure symbol names match between TradingView and broker
- Alert Setup: Create TradingView alerts using this indicator
- Webhook Configuration: Point alerts to your PineConnector webhook URL
Security Features:
- Optional secret key encryption
- Symbol-specific commands
- Debug mode for testing and validation
What makes this extension unique?
Seamless Integration:
- Unlike manual signal copying, this extension provides:
- Zero-latency signal translation
- Automated parameter passing
- Consistent execution across timeframes
- No human intervention required
Dynamic Adaptability:
Volatility-adjusted pricing for limit/stop orders
Automatic symbol detection and conversion
Multi-asset pip calculations
Intelligent timeframe formatting
Professional Risk Management:
- Percentage-based position sizing
- External stop loss integration
- Multi-order type support
- Real-time status monitoring
Robust Architecture:
- Error-resistant signal processing
- Comprehensive input validation
- Debug and testing capabilities
- Security features for live trading
Installation and Setup Guide
Quick Start:
- Add "PineConnector | Fractalyst" to your chart
- Configure your PineConnector license ID
- Connect Signal Source to your Quantify indicator
- Connect Stop Source to your stop loss indicator
- Set your preferred risk percentage
- Choose order type (Market recommended for beginners)
- Create TradingView alert using this indicator
- Ensure PineConnector EA is running on your trading platform
Advanced Configuration:
- Custom symbol mapping for cross-platform trading
- Secret key implementation for enhanced security
- Comment customization for trade tracking
- Debug mode for strategy validation
Legal Disclaimers and Risk Acknowledgments
Trading Risk Disclosure
This PineConnector Extension is provided for informational, educational, and automation purposes only and should not be construed as financial, investment, or trading advice. The extension facilitates automated trading connections but does not guarantee profitable outcomes, successful trade execution, or positive investment returns.
Automated trading systems carry substantial risks including but not limited to total capital loss, system failures, connectivity issues, and adverse market conditions. The extension's performance depends on multiple third-party services including PineConnector, MetaTrader platforms, TradingView infrastructure, and broker execution quality, any of which may experience downtime, technical failures, or service interruptions that could affect trading performance.
System Dependency Acknowledgment
The extension requires continuous operation of multiple interconnected systems: TradingView charts and alerts, PineConnector services and Expert Advisors, MetaTrader platforms, broker connectivity, and stable internet connections. Any interruption or malfunction in these systems may result in missed signals, failed executions, or unexpected trading behavior.
Users acknowledge that neither the seller nor the creator of this extension has control over these third-party services and cannot guarantee their availability, accuracy, or performance. Market conditions, broker execution policies, slippage, and technical factors may significantly affect actual trading results compared to theoretical or backtested performance.
Liability Limitation
By utilizing this extension, users acknowledge and agree that they assume full responsibility and liability for all trading decisions, financial outcomes, and potential losses resulting from the use of this automated trading system. Neither the seller nor the creator shall be liable for any unfavorable outcomes, financial losses, missed opportunities, or damages resulting from the development, use, malfunction, or performance of this extension.
Past performance of connected indicators, strategies, or the extension itself does not guarantee future results. Trading outcomes depend on numerous factors including market conditions, economic events, broker execution quality, network connectivity, and proper system configuration, all of which are beyond the control of the extension creator.
User Responsibility Statement
Users are solely responsible for understanding the risks associated with automated trading, properly configuring all system components, maintaining adequate capitalization and risk management, and regularly monitoring system performance. Users should thoroughly test the extension in demo environments before live deployment and should never risk more capital than they can afford to lose.
This extension is designed to automate signal execution but does not replace the need for proper risk management, market understanding, and trading discipline. Users should maintain active oversight of their automated trading systems and be prepared to intervene manually when necessary.
Lorentzian Classification - Advanced Trading DashboardLorentzian Classification - Relativistic Market Analysis
A Journey from Theory to Trading Reality
What began as fascination with Einstein's relativity and Lorentzian geometry has evolved into a practical trading tool that bridges theoretical physics and market dynamics. This indicator represents months of wrestling with complex mathematical concepts, debugging intricate algorithms, and transforming abstract theory into actionable trading signals.
The Theoretical Foundation
Lorentzian Distance in Market Space
Traditional Euclidean distance treats all feature differences equally, but markets don't behave uniformly. Lorentzian distance, borrowed from spacetime geometry, provides a more nuanced similarity measure:
d(x,y) = Σ ln(1 + |xi - yi|)
This logarithmic formulation naturally handles:
Scale invariance: Large price moves don't overwhelm small but significant patterns
Outlier robustness: Extreme values are dampened rather than dominating
Non-linear relationships: Captures market behavior better than linear metrics
K-Nearest Neighbors with Relativistic Weighting
The algorithm searches historical market states for patterns similar to current conditions. Each neighbor receives weight inversely proportional to its Lorentzian distance:
w = 1 / (1 + distance)
This creates a "gravitational" effect where closer patterns have stronger influence on predictions.
The Implementation Challenge
Creating meaningful market features required extensive experimentation:
Price Features: Multi-timeframe momentum (1, 2, 3, 5, 8 bar lookbacks) Volume Features: Relative volume analysis against 20-period average
Volatility Features: ATR and Bollinger Band width normalization Momentum Features: RSI deviation from neutral and MACD/price ratio
Each feature undergoes min-max normalization to ensure equal weighting in distance calculations.
The Prediction Mechanism
For each current market state:
Feature Vector Construction: 12-dimensional representation of market conditions
Historical Search: Scan lookback period for similar patterns using Lorentzian distance
Neighbor Selection: Identify K nearest historical matches
Outcome Analysis: Examine what happened N bars after each match
Weighted Prediction: Combine outcomes using distance-based weights
Confidence Calculation: Measure agreement between neighbors
Technical Hurdles Overcome
Array Management: Complex indexing to prevent look-ahead bias
Distance Calculations: Optimizing nested loops for performance
Memory Constraints: Balancing lookback depth with computational limits
Signal Filtering: Preventing clustering of identical signals
Advanced Dashboard System
Main Control Panel
The primary dashboard provides real-time market intelligence:
Signal Status: Current prediction with confidence percentage
Neighbor Analysis: How many historical patterns match current conditions
Market Regime: Trend strength, volatility, and volume analysis
Temporal Context: Real-time updates with timestamp
Performance Analytics
Comprehensive tracking system monitors:
Win Rate: Percentage of successful predictions
Signal Count: Total predictions generated
Streak Analysis: Current winning/losing sequence
Drawdown Monitoring: Maximum equity decline
Sharpe Approximation: Risk-adjusted performance estimate
Risk Assessment Panel
Multi-dimensional risk analysis:
RSI Positioning: Overbought/oversold conditions
ATR Percentage: Current volatility relative to price
Bollinger Position: Price location within volatility bands
MACD Alignment: Momentum confirmation
Confidence Heatmap
Visual representation of prediction reliability:
Historical Confidence: Last 10 periods of prediction certainty
Strength Analysis: Magnitude of prediction values over time
Pattern Recognition: Color-coded confidence levels for quick assessment
Input Parameters Deep Dive
Core Algorithm Settings
K Nearest Neighbors (1-20): More neighbors create smoother but less responsive signals. Optimal range 5-8 for most markets.
Historical Lookback (50-500): Deeper history improves pattern recognition but reduces adaptability. 100-200 bars optimal for most timeframes.
Feature Window (5-30): Longer windows capture more context but reduce sensitivity. Match to your trading timeframe.
Feature Selection
Price Changes: Essential for momentum and reversal detection Volume Profile: Critical for institutional activity recognition Volatility Measures: Key for regime change detection Momentum Indicators: Vital for trend confirmation
Signal Generation
Prediction Horizon (1-20): How far ahead to predict. Shorter horizons for scalping, longer for swing trading.
Signal Threshold (0.5-0.9): Confidence required for signal generation. Higher values reduce false signals but may miss opportunities.
Smoothing (1-10): EMA applied to raw predictions. More smoothing reduces noise but increases lag.
Visual Design Philosophy
Color Themes
Professional: Corporate blue/red for institutional environments Neon: Cyberpunk cyan/magenta for modern aesthetics
Matrix: Green/red hacker-inspired palette Classic: Traditional trading colors
Information Hierarchy
The dashboard system prioritizes information by importance:
Primary Signals: Largest, most prominent display
Confidence Metrics: Secondary but clearly visible
Supporting Data: Detailed but unobtrusive
Historical Context: Available but not distracting
Trading Applications
Signal Interpretation
Long Signals: Prediction > threshold with high confidence
Look for volume confirmation
- Check trend alignment
- Verify support levels
Short Signals: Prediction < -threshold with high confidence
Confirm with resistance levels
- Check for distribution patterns
- Verify momentum divergence
- Market Regime Adaptation
Trending Markets: Higher confidence in directional signals
Ranging Markets: Focus on reversal signals at extremes
Volatile Markets: Require higher confidence thresholds
Low Volume: Reduce position sizes, increase caution
Risk Management Integration
Confidence-Based Sizing: Larger positions for higher confidence signals
Regime-Aware Stops: Wider stops in volatile regimes
Multi-Timeframe Confirmation: Align signals across timeframes
Volume Confirmation: Require volume support for major signals
Originality and Innovation
This indicator represents genuine innovation in several areas:
Mathematical Approach
First application of Lorentzian geometry to market pattern recognition. Unlike Euclidean-based systems, this naturally handles market non-linearities.
Feature Engineering
Sophisticated multi-dimensional feature space combining price, volume, volatility, and momentum in normalized form.
Visualization System
Professional-grade dashboard system providing comprehensive market intelligence in intuitive format.
Performance Tracking
Real-time performance analytics typically found only in institutional trading systems.
Development Journey
Creating this indicator involved overcoming numerous technical challenges:
Mathematical Complexity: Translating theoretical concepts into practical code
Performance Optimization: Balancing accuracy with computational efficiency
User Interface Design: Making complex data accessible and actionable
Signal Quality: Filtering noise while maintaining responsiveness
The result is a tool that brings institutional-grade analytics to individual traders while maintaining the theoretical rigor of its mathematical foundation.
Best Practices
- Parameter Optimization
- Start with default settings and adjust based on:
Market Characteristics: Volatile vs. stable
Trading Timeframe: Scalping vs. swing trading
Risk Tolerance: Conservative vs. aggressive
Signal Confirmation
Never trade on Lorentzian signals alone:
Price Action: Confirm with support/resistance
Volume: Verify with volume analysis
Multiple Timeframes: Check higher timeframe alignment
Market Context: Consider overall market conditions
Risk Management
Position Sizing: Scale with confidence levels
Stop Losses: Adapt to market volatility
Profit Targets: Based on historical performance
Maximum Risk: Never exceed 2-3% per trade
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice or guarantee profitable trading results. The Lorentzian classification system reveals market patterns but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
Market dynamics are inherently uncertain, and past performance does not guarantee future results. This tool should be used as part of a comprehensive trading strategy, not as a standalone solution.
Bringing the elegance of relativistic geometry to market analysis through sophisticated pattern recognition and intuitive visualization.
Thank you for sharing the idea. You're more than a follower, you're a leader!
@vasanthgautham1221
Trade with precision. Trade with insight.
— Dskyz , for DAFE Trading Systems
Risk Calculator PRO — manual lot size + auto lot-suggestionWhy risk management?
90 % of traders blow up because they size positions emotionally. This tool forces Risk-First Thinking: choose the amount you’re willing to lose, and the script reverse-engineers everything else.
Key features
1. Manual or Market Entry – click “Use current price” or type a custom entry.
2. Setup-based ₹-Risk – four presets (A/B/C/D). Edit to your workflow.
3. Lot-Size Input + Auto Lot Suggestion – you tell the contract size ⇒ script tells you how many lots.
4. Auto-SL (optional) – tick to push stop-loss to exactly 1-lot risk.
5. Instant Targets – 1 : 2, 1 : 3, 1 : 4, 1 : 5 plotted and alert-ready.
6. P&L Preview – table shows potential profit at each R-multiple plus real ₹ at SL.
7. Margin Column – enter per-lot margin once; script totals it for any size.
8. Clean Table UI – dark/light friendly; updates every 5 bars.
9. Alert Pack – SL, each target, plus copy-paste journal line on the chart.
How to use
1. Add to chart > “Format”.
2. Type the lot size for the symbol (e.g., 1250 for Natural Gas, 1 for cash equity).
3. Pick Side (Buy / Sell) & Setup grade.
4. ✅ If you want the script to place SL for you, tick Auto-SL (risk = 1 lot).
5. Otherwise type your own Stop-loss.
6. Read the table:
• Suggested lots = how many to trade so risk ≤ setup ₹.
• Risk (currency) = real money lost if SL hits.
7. Set TradingView alerts on the built-in conditions (T1_2, SL_hit, etc.) if you’d like push / email.
8. Copy the orange CSV label to Excel / Sheets for journalling.
Best practices
• Never raise risk to “fit” a trade. Lower size instead.
• Review win-rate vs. R multiple monthly; adjust setups A–D accordingly.
• Test Auto-SL in replay before going live.
Disclaimer
This script is educational. Past performance ≠ future results. The author isn’t responsible for trading losses.
Reverse Keltner Channel StrategyReverse Keltner Channel Strategy
Overview
The Reverse Keltner Channel Strategy is a mean-reversion trading system that capitalizes on price movements between Keltner Channels. Unlike traditional Keltner Channel strategies that trade breakouts, this system takes the contrarian approach by entering positions when price returns to the channel after overextending.
Strategy Logic
Long Entry Conditions:
Price crosses above the lower Keltner Channel from below
This signals a potential reversal after an oversold condition
Position is entered at market price upon signal confirmation
Long Exit Conditions:
Take Profit: Price reaches the upper Keltner Channel
Stop Loss: Placed at half the channel width below entry price
Short Entry Conditions:
Price crosses below the upper Keltner Channel from above
This signals a potential reversal after an overbought condition
Position is entered at market price upon signal confirmation
Short Exit Conditions:
Take Profit: Price reaches the lower Keltner Channel
Stop Loss: Placed at half the channel width above entry price
Key Features
Mean Reversion Approach: Takes advantage of price tendency to return to mean after extreme moves
Adaptive Stop Loss: Stop loss dynamically adjusts based on market volatility via ATR
Visual Signals: Entry points clearly marked with directional triangles
Fully Customizable: All parameters can be adjusted to fit various market conditions
Customizable Parameters
Keltner EMA Length: Controls the responsiveness of the channel (default: 20)
ATR Multiplier: Determines channel width/sensitivity (default: 2.0)
ATR Length: Affects volatility calculation period (default: 10)
Stop Loss Factor: Adjusts risk management aggressiveness (default: 0.5)
Best Used On
This strategy performs well on:
Currency pairs with defined ranging behavior
Commodities that show cyclical price movements
Higher timeframes (4H, Daily) for more reliable signals
Markets with moderate volatility
Risk Management
The built-in stop loss mechanism automatically adjusts to market conditions by calculating position risk relative to the current channel width. This approach ensures that risk remains proportional to potential reward across varying market conditions.
Notes for Optimization
Consider adjusting the EMA length and ATR multiplier based on the specific asset and timeframe:
Lower values increase sensitivity and generate more signals
Higher values produce fewer but potentially more reliable signals
As with any trading strategy, thorough backtesting is recommended before live implementation.
Past performance is not indicative of future results. Always practice sound risk management.
OTE & A-B-C Zone Indicator SwiftEdgeOTE & A-B-C Zone Indicator SwiftEdge
Overview
The OTE & A-B-C Zone Indicator SwiftEdge is a versatile tool designed to help traders identify high-probability trading setups using a combination of Optimal Trade Entry (OTE) zones, Fibonacci levels, and A-B-C price patterns. This indicator is particularly useful for traders who rely on price action and Fibonacci-based strategies to find entry points, set stop-losses, and target potential take-profit levels. By integrating swing point detection, trend analysis, and Fibonacci projections, SwiftEdge provides a clear visual framework for making informed trading decisions across various timeframes.
What It Does
SwiftEdge identifies key price levels and zones to guide your trading:
OTE Zone: Highlights the Optimal Trade Entry zone between swing points A (swing high) and B (swing low) using Fibonacci retracement levels (default: 0.618 to 0.786). This zone represents a high-probability area for price reversals, making it an ideal entry point for trades.
A-B-C Pattern: Marks the latest swing points as A (swing high), B (swing low), and C (projected take-profit level) with dashed lines and labels. A solid line connects A to B to C, visually illustrating the price movement from entry to target.
Take-Profit Zones: Projects three customizable take-profit levels (TP1, TP2, TP3) based on Fibonacci extensions (default: 1.272, 1.618, 2.0) from the A-B swing, helping traders plan exits with favorable risk-reward ratios.
How It Works
SwiftEdge combines several technical components to create a cohesive trading system:
Swing Point Detection: Identifies significant swing highs (A) and swing lows (B) using a dynamic lookback period that adjusts to the selected timeframe. On lower timeframes like 1-minute charts, an ATR-based filter reduces noise by requiring price movements to exceed a threshold (0.5 * ATR(14)).
Trend Analysis: Uses an Exponential Moving Average (EMA) to determine the trend direction (default: 50-period EMA on 1H). The indicator marks uptrends (price above EMA) in green and downtrends (price below EMA) in red, ensuring trades align with the market's direction.
Fibonacci Levels: Applies Fibonacci retracement to define the OTE zone between A and B, and Fibonacci extensions to project take-profit levels (C) beyond the initial swing. This approach leverages the natural tendency of markets to respect Fibonacci ratios for reversals and extensions.
Visual Clarity: Displays only the latest A-B-C pattern with three dashed lines (A, B, C) and a solid connecting line, ensuring the chart remains uncluttered and easy to interpret.
The combination of these elements creates a structured setup where the OTE zone (between A and B) serves as an entry point, while the projected C level offers a target, all within the context of the prevailing trend. This synergy makes SwiftEdge a powerful tool for traders seeking to combine price action, trend analysis, and Fibonacci strategies.
How to Use
Add the Indicator: Apply the indicator to your chart via TradingView's indicator menu.
Identify the Trend: The OTE zone and A-B-C pattern will be colored green in uptrends (price above EMA) or red in downtrends (price below EMA). Use this to determine the market direction.
Entry Point: Look for price reversals within the OTE zone (between A and B). This zone is typically between the 0.618 and 0.786 Fibonacci retracement levels of the A-B swing, making it a high-probability area for entries.
Stop-Loss: Place your stop-loss below the OTE zone in an uptrend (or above in a downtrend) to protect against false breakouts.
Take-Profit Targets: Use the projected take-profit zones (TP1, TP2, TP3) as potential exit levels. These are based on Fibonacci extensions and can be toggled on/off in the settings.
Customization:
Adjust the Fibonacci levels for the OTE zone (Fibonacci Level 1 and Fibonacci Level 2) to suit your strategy.
Modify the take-profit levels (Fibonacci Extension Level for TP1/TP2/TP3) to target different extension ratios.
Change the lookback period (Base Lookback Period) and EMA period (Base EMA Period) to fine-tune swing point detection and trend sensitivity.
Customize colors for uptrends, downtrends, and A-B-C lines to match your preferences.
What Makes It Unique
SwiftEdge stands out by integrating swing point detection, Fibonacci-based OTE zones, and A-B-C price patterns into a single, visually intuitive indicator. Unlike standalone Fibonacci tools or trend indicators, SwiftEdge combines these elements to provide a complete trading setup: it identifies entry zones (OTE), confirms trend direction (EMA), and projects take-profit targets (Fibonacci extensions). The dynamic timeframe adjustment ensures consistent performance across all chart intervals, while the clean A-B-C visualization (with only the latest pattern displayed) prevents chart clutter, making it easier to focus on the most relevant price levels.
Notes
This indicator is designed for traders familiar with price action and Fibonacci strategies. It does not guarantee profits and should be used in conjunction with other analysis tools and proper risk management.
Performance may vary depending on market conditions and timeframe. Test the indicator on a demo account before using it in live trading.
Titan X 📈 Titan X – Optimized Trend Strategy with Gradient ZLEMA, RMI, CCI, ROC, and Volume Confirmation
Titan X is a precision-engineered trend-following strategy designed for crypto markets and high-volatility assets. It is not just a combination of indicators, but a carefully constructed, non-repainting system where each component plays a specific role in confirming high-probability trade setups. The strategy detects strong directional moves, confirms them with momentum and volume, and manages trade exits without relying on traditional stop losses.
🔍 How the Indicators Work Together
✅ 1. ZLEMA Baseline + Gradient Filter
A Zero Lag Exponential Moving Average (ZLEMA) is used to track directional trend with minimal lag.
A gradient (slope) is calculated from the ZLEMA to measure trend acceleration. This confirms whether a trend is gaining strength or losing momentum.
Entries are only taken when the ZLEMA gradient exceeds a user-defined threshold, ensuring trades are only taken in strong, developing trends.
✅ 2. RMI – Relative Momentum Index (with Memory)
RMI captures sustained momentum direction over time.
It helps validate that price isn't just spiking, but truly trending.
Titan X uses RMI as a trend memory filter, requiring consistent momentum alignment before entry.
✅ 3. Momentum Timing – ROC + CCI
The Rate of Change (ROC) determines the strength and direction of recent momentum.
The Commodity Channel Index (CCI) checks price deviation from a moving average baseline, identifying whether momentum is aligned with market structure.
This combo prevents trades in weak, flat, or conflicting conditions.
✅ 4. Volume Spike Confirmation
Titan X uses a relative volume filter, requiring the current bar’s volume to exceed a moving average threshold.
This ensures trades are only triggered when there is clear breakout interest from market participants, helping avoid fakeouts and low-volume moves.
🎯 Trade Entry & Exit Rules
✅ Entry Conditions:
All five filters must align:
Trend direction (ZLEMA slope)
Momentum (ROC & CCI)
Trend memory (RMI)
Volume (Spike filter)
Trades are entered on the next bar after all confirmations, ensuring 100% non-repainting behavior.
✅ Take Profit System (Multi-Level TP):
TP1: Closes 50% of the position at a user-defined % gain (default: 2%)
TP2: Closes the remaining 50% of the position at a higher % gain (default: 4%)
Each TP is executed via limit order to ensure realistic and backtestable fills.
❌ No Stop Loss Used
Instead of using fixed stop losses, Titan X closes positions early when trend conditions weaken.
This dynamic exit logic is based on a reversal in ZLEMA gradient, which serves as a weak trend detection system.
⏱️ Cooldown Logic
A 1-bar cooldown is enforced between trades to avoid same-bar exit/entry violations on TradingView.
This improves execution accuracy and avoids overtrading on choppy price action.
📊 Real-Time Strategy Dashboard
Titan X includes a live dashboard that provides full transparency:
Current Position (Long / Short / Flat)
Entry Price
TP1 Hit? / TP2 Hit?
Bars Since Entry
Win Rate (%)
Profit Factor
Ideal for both manual monitoring and automated bot strategies.
🔔 Bot-Ready Multi-Exchange Alerts
Alerts can be configured for:
ENTER-LONG, ENTER-SHORT
EXIT-LONG, EXIT-SHORT
TP1 / TP2 targets
Messages are fully customizable and designed for platforms like:
WonderTrading
3Commas
TradingConnector
⚙️ Designed For:
Timeframes: 1H and 4H (optimized for crypto)
Markets: Altcoins, BTC/ETH, high-volatility pairs
Traders: Trend-followers, momentum scalpers, algo bot users
Goal: High accuracy entries, structured exits, zero repainting, and flexible trade management
⚠️ TradingView Disclosure
This strategy is provided for educational purposes only. It does not constitute investment advice, nor does it guarantee any returns. Trading carries risk; test thoroughly before using in live environments.
Profit Trailing BBandsProfit Trailing Trend BBands v4.7.5 with Double Trailing SL
A TradingView Pine Script Strategy
Created by Kevin Bourn and refined with the help of Grok 3 (xAI)
Overview
Welcome to Profit Trailing Trend BBands v4.7.5, a dynamic trading strategy designed to ride trends and lock in profits with a unique double trailing stop-loss mechanism. Built for TradingView’s Pine Script v6, this strategy combines Bollinger Bands for trend detection with a smart trailing system that doubles down on profit protection. Whether you’re trading XRP or any other asset, this tool aims to maximize gains while keeping risk in check—all with a clean, visual interface.
What It Does
Identifies Trends: Uses Bollinger Bands to spot uptrends (price crossing above the upper band) and downtrends (price crossing below the lower band).
Enters Positions: Opens long or short trades based on trend signals, with customizable position sizing and leverage.
Trails Profits: Employs a two-stage trailing stop-loss:
Initial Trailing SL: Acts as a take-profit level, set as a percentage (%) or dollar ($) distance from the entry price.
Tightened Trailing SL: Once the initial profit target is hit, the stop-loss tightens to half the initial distance, locking in gains as the trend continues.
Manages Risk: Includes a margin call feature to exit losing positions before they blow up your account.
Visualizes Everything: Plots Bollinger Bands (blue upper, orange lower) and a red stepped trailing stop-loss line for easy tracking.
Why Built It?
Captures Trends: Bollinger Bands are a proven way to catch momentum, and we tuned them for responsiveness (short length, moderate multiplier).
Secures Profits: Traditional trailing stops often leave money on the table or exit too early. The double trailing SL first takes a chunk of profit, then tightens up to ride the rest of the move.
Stays Flexible: Traders can tweak price sources, stop-loss types (% or $), and position sizing to fit their style.
Looks Good: Clear visuals help you see the strategy in action without cluttering your chart.
Originally refined for XRP, it’s versatile enough for most markets — crypto, forex, stocks, you name it.
How It Works
Core Components
Bollinger Bands:
Calculated using a simple moving average (SMA) and standard deviation.
Default settings: 6-period length, 1.66 multiplier.
Upper Band (blue): SMA + (1.66 × StdDev).
Lower Band (orange): SMA - (1.66 × StdDev).
Trend signals: Price crossing above the upper band triggers a long, below the lower band triggers a short.
Double Trailing Stop-Loss:
Initial SL: Set via "Trailing Stop-Loss Value" (default 6% or $6). Trails the price at this distance and doubles as the first profit target.
Tightened SL: Once price hits the initial SL distance in profit (e.g., +6%), the SL tightens to half (e.g., 3%) and continues trailing, locking in gains.
Visualized as a red stepped line, only visible during active positions.
Position Sizing:
Choose "% of Equity" (default 30%) or "Amount in $" to set trade size.
Leverage (default 10x) amplifies positions, capped by available equity to avoid overexposure.
Margin Call:
Exits positions if drawdown exceeds the "Margin %" (default 10%) to protect your account.
Backtesting Filter:
Starts trading after a user-defined date (default: Jan 1, 2020) for focused historical analysis.
Trade Logic
Long Entry: Price crosses above the upper Bollinger Band → Closes any short position, opens a long.
Short Entry: Price crosses below the lower Bollinger Band → Closes any long position, opens a short.
Exit: Position closes when price hits the trailing stop-loss or triggers a margin call.
How to Use It
Setup
Add to TradingView:
Open TradingView, go to the Pine Editor, paste the script, and click "Add to Chart."
Ensure you’re using Pine Script v6 (the script includes @version=6).
Configure Inputs:
Start Date for Backtesting: Set the date to begin historical testing (default: Jan 1, 2020).
BB Length & Mult: Adjust Bollinger Band sensitivity (default: 6, 1.66).
BB Price Source: Choose the price for BBands (default: Close).
Trend Price Source: Choose the price for trend detection (default: Close).
Trailing Stop-Loss Type: Pick "%" or "$" (default: Trailing SL %).
Trailing Stop-Loss Value: Set the initial SL distance (default: 6).
Margin %: Define the max drawdown before exit (default: 10%).
Order Size Type & Value: Set position size as % of equity (default: 30%) or $ amount.
Leverage: Adjust leverage (default: 10x).
Run It:
Use the Strategy Tester tab to backtest on your chosen asset and timeframe.
Watch the chart for blue/orange Bollinger Bands and the red trailing SL line.
Tips for Traders
Timeframes: Works on any timeframe, but test 1H or 4H for XRP—great balance of signals and noise.
Assets: Optimized for XRP, but tweak slValue and mult for other markets (e.g., tighter SL for low-volatility pairs).
Risk Management: Keep marginPercent low (5-10%) for volatile assets; adjust leverage based on your risk tolerance.
Visuals: The red stepped SL line shows only during trades—zoom in to see its tightening in action.
Visuals on the Chart
Blue Line: Upper Bollinger Band (trend entry for longs).
Orange Line: Lower Bollinger Band (trend entry for shorts).
Red Stepped Line: Trailing Stop-Loss (shifts tighter after the first profit target).
Order Labels: Short tags like "OL" (Open Long), "CS" (Close Short), "LSL" (Long Stop-Loss), etc., mark trades.
Disclaimer
Trading involves risk. This strategy is for educational and experimental use—backtest thoroughly and use at your own risk. Past performance doesn’t guarantee future results. Not financial advice—just a tool from traders, for traders.
IU Bigger than range strategyDESCRIPTION
IU Bigger Than Range Strategy is designed to capture breakout opportunities by identifying candles that are significantly larger than the previous range. It dynamically calculates the high and low of the last N candles and enters trades when the current candle's range exceeds the previous range. The strategy includes multiple stop-loss methods (Previous High/Low, ATR, Swing High/Low) and automatically manages take-profit and stop-loss levels based on user-defined risk-to-reward ratios. This versatile strategy is optimized for higher timeframes and assets like BTC but can be fine-tuned for different instruments and intervals.
USER INPUTS:
Look back Length: Number of candles to calculate the high-low range. Default is 22.
Risk to Reward: Sets the target reward relative to the stop-loss distance. Default is 3.
Stop Loss Method: Choose between:(Default is "Previous High/Low")
- Previous High/Low
- ATR (Average True Range)
- Swing High/Low
ATR Length: Defines the length for ATR calculation (only applicable when ATR is selected as the stop-loss method) (Default is 14).
ATR Factor: Multiplier applied to the ATR to determine stop-loss distance(Default is 2).
Swing High/Low Length: Specifies the length for identifying swing points (only applicable when Swing High/Low is selected as the stop-loss method).(Default is 2)
LONG CONDITION:
The current candle’s range (absolute difference between open and close) is greater than the previous range.
The closing price is higher than the opening price (bullish candle).
SHORT CONDITIONS:
The current candle’s range exceeds the previous range.
The closing price is lower than the opening price (bearish candle).
LONG EXIT:
Stop-loss:
- Previous Low
- ATR-based trailing stop
- Recent Swing Low
Take-profit:
- Defined by the Risk-to-Reward ratio (default 3x the stop-loss distance).
SHORT EXIT:
Stop-loss:
- Previous High
- ATR-based trailing stop
- Recent Swing High
Take-profit:
- Defined by the Risk-to-Reward ratio (default 3x the stop-loss distance).
ALERTS:
Long Entry Triggered
Short Entry Triggered
WHY IT IS UNIQUE:
This strategy dynamically adapts to different market conditions by identifying candles that exceed the previous range, ensuring that it only enters trades during strong breakout scenarios.
Multiple stop-loss methods provide flexibility for different trading styles and risk profiles.
The visual representation of stop-loss and take-profit levels with color-coded plots improves trade monitoring and decision-making.
HOW USERS CAN BENEFIT FROM IT:
Ideal for breakout traders looking to capitalize on momentum-driven price moves.
Provides flexibility to customize stop-loss methods and fine-tune risk management parameters.
Helps minimize drawdowns with a strong risk-to-reward framework while maximizing profit potential.
Momentum Volume Divergence (MVD) EnhancedMomentum Volume Divergence (MVD) Enhanced is a powerful indicator that detects price-momentum divergences and momentum suppression for reversal trading. Optimized for XRP on 1D charts, it features dynamic lookbacks, ATR-adjusted thresholds, and SMA confirmation. Signals include strong divergences (triangles) and suppression warnings (crosses). Includes a detailed user guide—try it out and share your feedback!
Setup: Add to XRP 1D chart with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA crossovers. See full guide for details!
Disclaimer: This indicator is for educational purposes only, not financial advice. Trading involves risk—use at your discretion.
Momentum Volume Divergence (MVD) Enhanced Indicator User Guide
Version: Pine Script v6
Designed for: TradingView
Recommended Use: XRP on 1-day (1D) chart
Date: March 18, 2025
Author: Herschel with assistance from Grok 3 (xAI)
Overview
The Momentum Volume Divergence (MVD) Enhanced indicator is a powerful tool for identifying price-momentum divergences and momentum suppression patterns on XRP’s 1-day (1D) chart. Plotted below the price chart, it provides clear visual signals to help traders spot potential reversals and trend shifts.
Purpose
Detect divergences between price and momentum for buy/sell opportunities.
Highlight momentum suppression as warnings of fading trends.
Offer actionable trading signals with intuitive markers.
Indicator Components
Main Plot
Volume-Weighted Momentum (vw_mom): Blue line showing momentum adjusted by volume.
Above 0 = bullish momentum.
Below 0 = bearish momentum.
Zero Line: Gray dashed line at 0, separating bullish/bearish zones.
Key Signals
Strong Bearish Divergence:
Marker: Red triangle at the top.
Meaning: Price makes a higher high, but momentum weakens, confirmed by a drop below the 5-day SMA.
Action: Potential sell/short signal.
Strong Bullish Divergence:
Marker: Green triangle at the bottom.
Meaning: Price makes a lower low, but momentum strengthens, confirmed by a rise above the 5-day SMA.
Action: Potential buy/long signal.
Bearish Suppression:
Marker: Orange cross at the top + red background.
Meaning: Strong bullish momentum with low volume in a volume downtrend, suggesting fading strength.
Action: Warning to avoid longs or exit early.
Bullish Suppression:
Marker: Yellow cross at the bottom + green background.
Meaning: Strong bearish momentum with low volume in a volume uptrend, suggesting fading weakness.
Action: Warning to avoid shorts or exit early.
Debug Plots (Optional)
Volume Ratio: Gray line (volume vs. its MA) vs. yellow line (threshold).
Momentum Threshold: Purple lines (positive/negative momentum cutoffs).
Smoothed Momentum: Orange line (raw momentum).
Confirmation SMA: Purple line (price trend confirmation).
Labels
Text labels (e.g., "Bear Div," "Bull Supp") mark detected patterns.
How to Use the Indicator
Step-by-Step Trading Process
1. Monitor the Chart
Load your XRP 1D chart with the indicator applied.
Observe the blue vw_mom line and signal markers.
2. Spot a Signal
Primary Signals: Look for red triangles (strong_bear) or green triangles (strong_bull).
Warnings: Note orange crosses (suppression_bear) or yellow crosses (suppression_bull).
3. Confirm the Signal
For Strong Bullish Divergence (Buy):
Green triangle appears.
Price closes above the 5-day SMA (purple line) and a recent swing high.
Optional: Volume ratio (gray line) exceeds the threshold (yellow line).
For Strong Bearish Divergence (Sell):
Red triangle appears.
Price closes below the 5-day SMA and a recent swing low.
Optional: Volume ratio (gray line) falls below the threshold (yellow line).
4. Enter the Trade
Long:
Buy at the close of the signal bar.
Stop loss: Below the recent swing low or 2 × ATR(14) below entry.
Short:
Sell/short at the close of the signal bar.
Stop loss: Above the recent swing high or 2 × ATR(14) above entry.
5. Manage the Trade
Take Profit:
Aim for a 2:1 or 3:1 risk-reward ratio (e.g., risk $0.05, target $0.10-$0.15).
Or exit when an opposite suppression signal appears (e.g., orange cross for longs).
Trailing Stop:
Move stop to breakeven after a 1:1 RR move.
Trail using the 5-day SMA or 2 × ATR(14).
Early Exit:
Exit if a suppression signal appears against your position (e.g., suppression_bull while short).
6. Filter Out Noise
Avoid trades if a suppression signal precedes a divergence within 2-3 days.
Optional: Add a 50-day SMA on the price chart:
Longs only if price > 50-SMA.
Shorts only if price < 50-SMA.
Example Trades (XRP 1D)
Bullish Trade
Signal: Green triangle (strong_bull) at $0.55.
Confirmation: Price closes above 5-SMA and $0.57 high.
Entry: Buy at $0.58.
Stop Loss: $0.53 (recent low).
Take Profit: $0.63 (2:1 RR) or exit on suppression_bear.
Outcome: Price hits $0.64, exit at $0.63 for profit.
Bearish Trade
Signal: Red triangle (strong_bear) at $0.70.
Confirmation: Price closes below 5-SMA and $0.68 low.
Entry: Short at $0.67.
Stop Loss: $0.71 (recent high).
Take Profit: $0.62 (2:1 RR) or exit on suppression_bull.
Outcome: Price drops to $0.61, exit at $0.62 for profit.
Tips for Success
Combine with Price Levels:
Use support/resistance zones (e.g., weekly pivots) to confirm entries.
Monitor Volume:
Rising volume (gray line above yellow) strengthens signals.
Adjust Sensitivity:
Too many signals? Increase div_strength_threshold to 0.7.
Too few signals? Decrease to 0.3.
Backtest:
Review 20-30 past signals on XRP 1D to assess performance.
Avoid Choppy Markets:
Skip signals during low volatility (tight price ranges).
Troubleshooting
No Signals:
Lower div_strength_threshold to 0.3 or mom_threshold_base to 0.2.
Check if XRP’s volatility is unusually low.
False Signals:
Increase sma_confirm_length to 7 or add a 50-SMA filter.
Indicator Not Loading:
Ensure the script compiles without errors.
Customization (Optional)
Change Colors: Edit color.* values (e.g., color.red to color.purple).
Add Alerts: Use TradingView’s alert menu for "Strong Bearish Divergence Confirmed," etc.
Test Other Assets: Experiment with BTC or ETH, adjusting inputs as needed.
Disclaimer
This indicator is for educational purposes only and not financial advice. Trading involves risk, and past performance does not guarantee future results. Use at your own discretion.
Setup: Use on XRP 1D with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA cross. Stop: 2x ATR(14). Profit: 2:1 RR or suppression exit. Full guide available separately!
Divergence IQ [TradingIQ]Hello Traders!
Introducing "Divergence IQ"
Divergence IQ lets traders identify divergences between price action and almost ANY TradingView technical indicator. This tool is designed to help you spot potential trend reversals and continuation patterns with a range of configurable features.
Features
Divergence Detection
Detects both regular and hidden divergences for bullish and bearish setups by comparing price movements with changes in the indicator.
Offers two detection methods: one based on classic pivot point analysis and another that provides immediate divergence signals.
Option to use closing prices for divergence detection, allowing you to choose the data that best fits your strategy.
Normalization Options:
Includes multiple normalization techniques such as robust scaling, rolling Z-score, rolling min-max, or no normalization at all.
Adjustable normalization window lets you customize the indicator to suit various market conditions.
Option to display the normalized indicator on the chart for clearer visual comparison.
Allows traders to take indicators that aren't oscillators, and convert them into an oscillator - allowing for better divergence detection.
Simulated Trade Management:
Integrates simulated trade entries and exits based on divergence signals to demonstrate potential trading outcomes.
Customizable exit strategies with options for ATR-based or percentage-based stop loss and profit target settings.
Automatically calculates key trade metrics such as profit percentage, win rate, profit factor, and total trade count.
Visual Enhancements and On-Chart Displays:
Color-coded signals differentiate between bullish, bearish, hidden bullish, and hidden bearish divergence setups.
On-chart labels, lines, and gradient flow visualizations clearly mark divergence signals, entry points, and exit levels.
Configurable settings let you choose whether to display divergence signals on the price chart or in a separate pane.
Performance Metrics Table:
A performance table dynamically displays important statistics like profit, win rate, profit factor, and number of trades.
This feature offers an at-a-glance assessment of how the divergence-based strategy is performing.
The image above shows Divergence IQ successfully identifying and trading a bullish divergence between an indicator and price action!
The image above shows Divergence IQ successfully identifying and trading a bearish divergence between an indicator and price action!
The image above shows Divergence IQ successfully identifying and trading a hidden bullish divergence between an indicator and price action!
The image above shows Divergence IQ successfully identifying and trading a hidden bearish divergence between an indicator and price action!
The performance table is designed to provide a clear summary of simulated trade results based on divergence setups. You can easily review key metrics to assess the strategy’s effectiveness over different time periods.
Customization and Adaptability
Divergence IQ offers a wide range of configurable settings to tailor the indicator to your personal trading approach. You can adjust the lookback and lookahead periods for pivot detection, select your preferred method for normalization, and modify trade exit parameters to manage risk according to your strategy. The tool’s clear visual elements and comprehensive performance metrics make it a useful addition to your technical analysis toolbox.
The image above shows Divergence IQ identifying divergences between price action and OBV with no normalization technique applied.
While traders can look for divergences between OBV and price, OBV doesn't naturally behave like an oscillator, with no definable upper and lower threshold, OBV can infinitely increase or decrease.
With Divergence IQ's ability to normalize any indicator, traders can normalize non-oscillator technical indicators such as OBV, CVD, MACD, or even a moving average.
In the image above, the "Robust Scaling" normalization technique is selected. Consequently, the output of OBV has changed and is now behaving similar to an oscillator-like technical indicator. This makes spotting divergences between the indicator and price easier and more appropriate.
The three normalization techniques included will change the indicator's final output to be more compatible with divergence detection.
This feature can be used with almost any technical indicator.
Stop Type
Traders can select between ATR based profit targets and stop losses, or percentage based profit targets and stop losses.
The image above shows options for the feature.
Divergence Detection Method
A natural pitfall of divergence trading is that it generally takes several bars to "confirm" a divergence. This makes trading the divergence complicated, because the entry at time of the divergence might look great; however, the divergence wasn't actually signaled until several bars later.
To circumvent this issue, Divergence IQ offers two divergence detection mechanisms.
Pivot Detection
Pivot detection mode is the same as almost every divergence indicator on TradingView. The Pivots High Low indicator is used to detect market/indicator highs and lows and, consequently, divergences.
This method generally finds the "best looking" divergences, but will always take additional time to confirm the divergence.
Immediate Detection
Immediate detection mode attempts to reduce lag between the divergence and its confirmation to as little as possible while avoiding repainting.
Immediate detection mode still uses the Pivots Detection model to find the first high/low of a divergence. However, the most recent high/low does not utilize the Pivot Detection model, and instead immediately looks for a divergence between price and an indicator.
Immediate Detection Mode will always signal a divergence one bar after it's occurred, and traders can set alerts in this mode to be alerted as soon as the divergence occurs.
TradingView Backtester Integration
Divergence IQ is fully compatible with the TradingView backtester!
Divergence IQ isn’t designed to be a “profitable strategy” for users to trade. Instead, the intention of including the backtester is to let users backtest divergence-based trading strategies between the asset on their chart and almost any technical indicator, and to see if divergences have any predictive utility in that market.
So while the backtester is available in Divergence IQ, it’s for users to personally figure out if they should consider a divergence an actionable insight, and not a solicitation that Divergence IQ is a profitable trading strategy. Divergence IQ should be thought of as a Divergence backtesting toolkit, not a full-feature trading strategy.
Strategy Properties Used For Backtest
Initial Capital: $1000 - a realistic amount of starting capital that will resonate with many traders
Amount Per Trade: 5% of equity - a realistic amount of capital to invest relative to portfolio size
Commission: 0.02% - a conservative amount of commission to pay for trade that is standard in crypto trading, and very high for other markets.
Slippage: 1 tick - appropriate for liquid markets, but must be increased in markets with low activity.
Once more, the backtester is meant for traders to personally figure out if divergences are actionable trading signals on the market they wish to trade with the indicator they wish to use.
And that's all!
If you have any cool features you think can benefit Divergence IQ - please feel free to share them!
Thank you so much TradingView community!
BUY & SELL Dynamic DCA StrategyOverview
The BUY & SELL Dynamic DCA Strategy is a versatile Pine Script indicator designed for traders seeking a robust Dollar Cost Averaging (DCA) approach to manage both long and short positions across various market conditions and timeframes. This innovative tool combines breakout-based level initiation with a dynamic volatility adjustment, enabling traders to enter positions at optimal DCA points, average them strategically, and manage risk with adjustable stop-loss and take-profit levels. Ideal for scalping on short timeframes (1-minute, 5-minute) or swing trading on longer ones (15-minute, 1-hour, 4-hour).
Purpose and Originality
The "BUY & SELL Dynamic DCA Strategy" stands out by integrating several trading concepts into a cohesive, trader-friendly system. While it leverages familiar elements like breakout points and ATR (Average True Range), its originality lies in:
Dynamic Volatility Adjustment: A custom volatility factor, derived from a capped ATR calculation, dynamically scales DCA entry, averaging, and stop-loss levels. This ensures the strategy adapts to market conditions, tightening in low volatility for scalping and widening in high volatility for swing trading.
Dual-Direction DCA: Supports both buy (long) entries on pullbacks and sell (short) entries on rallies, with tailored averaging and exit strategies for each.
Timeframe Versatility: Adjusts its sensitivity based on the chart timeframe, making it suitable for rapid scalping or longer-term trend riding without requiring manual recalibration.
This unique synthesis justifies its publication as a invite-only script, offering a practical tool that enhances traditional DCA methods with adaptive precision.
How It Works
The indicator operates through a multi-step process designed to optimize entry, averaging, and exit points:
1. Initial Level Setting:
Utilizes high and low threshold (calculated over a user-defined period) to establish initial DCA entry levels. If no threshold is detected, it defaults to the previous bar’s price, ensuring immediate applicability.
2. Dynamic DCA Entry:
Entry levels are adjusted using a proprietary volatility factor, which scales the distance from the current price. Long entries trigger when the price falls below this level, while short entries trigger when the price rises above it, with a volume confirmation filter to reduce noise.
3. Averaging Mechanism:
A secondary level (Averaging Level) allows traders to add to their position when the price moves further against the trade (down for longs, up for shorts). This level is also volatility-adjusted, providing a structured cost-reduction strategy.
4. Risk and Reward Management:
A Final Stop-Loss (Final SL) is set farther out, calculated as a multiple of the volatility-adjusted risk distance, offering protection after averaging.
Take-Profit (TP) levels are determined using a user-defined risk-to-reward ratio, ensuring a balanced exit strategy tailored to market movement.
5. Performance Tracking:
A real-time win/loss table in the top-right corner records trade outcomes, with wins and losses color-coded based on the trade direction (green/red for long, red/green for short), aiding performance evaluation.
Features
1. Dual-Mode Operation : Facilitates both long entries on price dips and short entries on price surges, adaptable to bullish and bearish markets.
2. Volatility-Adaptive Levels: Employs a custom ATR-based adjustment to scale entry, averaging, and stop-loss levels, enhancing responsiveness across timeframes.
3. Visual Tools: Features dashed lines and labels for DCA Entry (green for long, red for short), Final SL (red), and TP (cyan), with debug labels for entries and averages.
4. Timeframe Flexibility: Automatically adjusts threshold periods and volatility factors based on the chart timeframe (1m, 5m, 15m, 1h, 4h), optimizing for scalping or swing trading.
5. Customizable Parameters: Allows fine-tuning of period, DCA factors, and visibility options.
Settings
Base Length (default: 10): Base period for pivot calculations, scaled by timeframe (e.g., 10 becomes 20 on 5m).
Type: 'Wicks' (high/low) or 'Body' (open/close) for price-based levels.
RR Ratio (default: 1.2): Risk-to-reward ratio for TP calculation.
DCA Entry Factor (default: 1.0): Multiplier for volatility-adjusted DCA entry distance.
Avg Level Factor (default: 2.0): Multiplier for averaging level distance.
Final SL Factor (default: 3.0): Multiplier for final stop-loss distance.
SL Type: 'Close' or 'High/Low' for stop-loss evaluation.
Show DCA Entry, Show Avg Level, Show Final SL: Toggle visibility of respective lines.
Show Win/Loss Table: Enable/disable performance tracking.
Line Style: Select 'Solid', 'Dashed', or 'Dotted'.
Usage Instructions
1. Application:
Add the "BUY & SELL Dynamic DCA Strategy - JOAT" via the Pine Editor or community scripts on TradingView.
2. Configuration:
Scalping (1m, 5m): Set Base Length to 5-10, use a low DCA Entry Factor (0.5-1.0) for tight entries, and a Final SL Factor of 2.0-3.0.
Swing Trading (15m, 1h, 4h): Increase Base Length to 15-20, use a higher DCA Entry Factor (1.0-2.0), and set Final SL Factor to 3.0-4.0 for wider stops.
Enable visual elements and adjust Line Style as preferred.
3. Signal Interpretation:
Long Trade: A green dashed "DCA Entry" line below the price triggers a "Long Entry" label on crossover down.
Short Trade: A red dashed "DCA Entry" line above the price triggers a "Short Entry" label on crossover up.
Averaging: A yellow "Avg" label (long) or magenta "Avg" label (short) appears at the respective averaging level.
Exits: TP (cyan) for wins, Final SL (red) for losses, tracked in the win/loss table.
Trade Management:
Scalping: Use 1m/5m for quick trades, averaging as price moves against you.
Swing Trading: Use 15m/1h/4h to capture trends, averaging for cost adjustment.
Manually adjust position size for averaging based on risk tolerance.
5. Performance Monitoring:
The top-right table updates with wins (green/red) and losses (red/green) per trade type, helping assess strategy effectiveness.
Limitations
Manual Averaging: Requires manual position size adjustment at the Averaging Level; automation is not included.
Timeframe Sensitivity: May require parameter tuning for optimal performance across 1m to 4h.
No Trend Filter: Sideways markets may generate noise; adding a trend indicator could enhance accuracy (future development).
Initialization Delay: First trade may be delayed until a pivot is detected, using the current price as a fallback.
Originality Justification
The custom volAdj method, which caps ATR at a percentage of price and scales it by timeframe, offering a unique volatility adjustment not found in standard indicators.
The dual-direction DCA with averaging, combining long and short strategies with volatility-modulated levels, providing a comprehensive trading framework.
The timeframe-adaptive design, automatically adjusting pivot periods and volatility factors, making it a versatile tool across scalping and swing trading.
NSE: 2in1 Options-Index (Nifty-Bank-MID-Fin)
1. Using Two Charts in One Indicator with Buy and Sell Signals on Both Charts
Dual-Chart Functionality: This indicator allows you to monitor two charts simultaneously – the main chart (Options) and the underlying index chart (NIFTY, BANKNIFTY, etc.).
The index chart (below the main chart) shows the underlying index movement.
The main chart displays the Options data (e.g., NIFTY options, BANKNIFTY options).
Buy/Sell Signals on Both Charts:
Buy and sell signals are generated on both the options chart and the index chart, ensuring you don’t miss any trading opportunities.
This dual-chart setup helps you correlate the movement of the index with the options data for better decision-making.
2. Works Across Major Indices (NIFTY, BANKNIFTY, FINNIFTY, etc.)
Automatic Index Detection: The script automatically detects the underlying index based on the chart symbol. It supports:
NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, SENSEX
Flexibility: Whether you’re trading NIFTY options or BANKNIFTY options, the indicator adapts to the selected index and provides accurate signals.
3. Helps You Select ATM, ITM, and OTM Strikes (Ideal for Beginners and Advanced Traders)
ATM (At-The-Money) Strike Calculation:
The script calculates the ATM strike price based on the current spot price of the underlying index.
ITM (In-The-Money) and OTM (Out-Of-The-Money) Strikes:
Users can adjust the strike price using a slider to select ITM or OTM strikes.
This feature is especially helpful for beginners who are learning about options trading and want to understand the difference between ITM, ATM, and OTM strikes.
Strike Price Display:
The selected strike price is displayed on the chart, making it easy to identify the right strike for your trades.
4. Double EMA Selection for Trading
Customizable EMAs:
The script uses two Exponential Moving Averages (EMAs) to generate signals:
Short EMA (Default: 21 periods)
Long EMA (Default: 34 periods)
Users can customize the EMA lengths based on their trading strategy.
5. Option Chart in the Main Chart with Index Chart Below for Easy Monitoring
Integrated Chart Setup:
The main chart displays the options data (e.g., NIFTY options, BANKNIFTY options).
The index chart (below the main chart) shows the underlying index movement.
Benefits:
This setup allows you to monitor both the options and the index in a single view, making it easier to:
Correlate the movement of the index with the options data.
Identify trading opportunities directly on the chart.
No need to switch between multiple charts – everything is in one place.
6. Targets and Stop-Loss When the Signal is Generated
Dynamic Targets and Stop-Loss:
The script calculates targets and stop-loss levels based on the Predicted Range (PR) bands.
Trailing Stop-Loss:
The stop-loss level adjusts dynamically as the price moves in your favor.
Target Levels:
Two target levels are provided (Target 1 and Target 2) based on the PR bands.
Visual Indicators:
Targets and stop-loss levels are plotted on the chart with labels and lines for easy reference.
Colors:
Trailing Stop: Light Pink
Target 1: Light Green
Target 2: Light Green
7. Various Other Options in One Indicator
Advanced Statistical Bands (KRO Settings):
The script includes Kernel Regression Oscillator (KRO) settings for advanced traders.
Plots upper and lower bands based on standard deviation and kernel regression.
Helps identify overbought and oversold conditions.
Customizable Alerts:
Users can enable/disable alerts for:
Buy/Sell signals.
Trailing stop-loss hits.
Target achievements.
Summary of Benefits
All-in-One Tool: Combines candlestick analysis, EMAs, options strike selection, targets, stop-loss, and advanced statistical bands in a single indicator.
Beginner-Friendly: Helps new traders understand ATM, ITM, and OTM strikes while providing clear buy/sell signals.
Advanced Features: Includes KRO settings, dynamic targets, and trailing stop-loss for experienced traders.
Dual-Chart Setup: Monitor options and the underlying index simultaneously for better decision-making.
Customizable: Adjust EMA lengths, strike prices, colors, and alerts to suit your trading style.